package org.micropayment.model.service;

import java.util.List;
import org.micropayment.model.MicropaymentUser;

/**
 *
 * @author jj
 */
public interface MicropaymentUserDAO {

    public MicropaymentUser findById(Integer id);

    public List<MicropaymentUser> findAll();

    public List<MicropaymentUser> findList (int firstResult, int maxResults);

    public MicropaymentUser findByUserId(String userId);

    public List<MicropaymentUser> findByPartialName(String partName);

    public MicropaymentUser save(MicropaymentUser user) ;

    public MicropaymentUser update(MicropaymentUser user);

    public boolean delete(MicropaymentUser user) ;
    
}
